package com.aruba.daggerapplication.di

import com.aruba.daggerapplication.SubActivity
import com.aruba.daggerapplication.di.scope.SubScope
import dagger.Subcomponent

/**
 * Created by aruba on 2021/12/4.
 */
@SubScope
@Subcomponent
interface SubComponent {

    @Subcomponent.Factory
    interface Factory {
        fun create(): SubComponent
    }

    fun inject(activity: SubActivity)
}